home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / xtp / Makefile < prev    next >
Encoding:
Makefile  |  1994-08-02  |  1.7 KB  |  51 lines

  1. #
  2. #  Generic makefile for xtp for computers that do not have xmkmf.
  3. #
  4. #  Copyright 1993 E. I. du Pont de Nemours & Company
  5. #
  6. #  Permission to use, copy, modify, distribute, and sell this software and
  7. #  its documentation for any purpose is hereby granted without fee,
  8. #  provided that the above Copyright notice appear in all copies and that
  9. #  both that Copyright notice and this permission notice appear in
  10. #  supporting documentation, and that the name of E. I. du Pont de Nemours
  11. #  & Company not be used in advertising or publicity pertaining to
  12. #  distribution of the software without specific, written prior
  13. #  permission.  E. I. du Pont de Nemours & Company makes no representations
  14. #  about the suitability of this software for any purpose.  It is provided
  15. #  "as is" without express or implied warranty.
  16. #
  17. #  E. I. du Pont de Nemours & Company disclaims all warranties with regard
  18. #  to this software, including all implied warranties of merchantability
  19. #  and fitness, in no event shall E. I. du Pont de Nemours & Company be
  20. #  liable for any special, indirect or consequential damages or any
  21. #  damages whatsoever resulting from loss of use, data or profits, whether
  22. #  in an action of contract, negligence or other tortious action, arising
  23. #  out of or in connection with the use or performance of this software.
  24. #
  25.  
  26. CC= cc -O
  27. DESTDIR= /usr/local/bin
  28. INSTALL = install -c
  29. RM= /bin/rm -f
  30. #SYS_LIBRARIES= -lnsl
  31.  
  32. XTPObjects= xtp.o network.o regular.o
  33.  
  34. PROGRAMS= xtp 
  35.  
  36. all: $(PROGRAMS)
  37.  
  38. xtp:     $(XTPObjects)
  39.     $(RM) $@
  40.     $(CC) -o $@ $(XTPObjects) $(SYS_LIBRARIES)
  41.  
  42. clean::
  43.     $(RM) xtp
  44.  
  45. install:: xtp
  46.     $(INSTALL) xtp $(DESTDIR)
  47.  
  48. clean::
  49.     $(RM) *.ln *.bak *.o core errs ,* *~ *.a .emacs_* make.log MakeOut
  50.  
  51.